"""
__author__ = 'berlinyoung'
@File   :addresslist_page.py
@Date   :2021/10/7 10:10
-*- coding: utf-8 -*-
"""
from appium.webdriver.common.mobileby import MobileBy

from test_app.test_po5.page.base_page import BasePage


class AddressListPage(BasePage):

    add_member_element = (MobileBy.XPATH,"//*[@text='添加成员']")

    def goto_addmember(self):
        # click[添加成员]
        self.find_and_click(*self.add_member_element)
        # self.driver.find_element(MobileBy.XPATH,"//*[@text='添加成员']").click()
        from test_app.test_po5.page.addmember_page import AddMemberPage
        return AddMemberPage(self.driver)